home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
cval100
/
readme.txt
< prev
next >
Wrap
Text File
|
1998-02-22
|
3KB
|
91 lines
CURRVAL.OCX DOCUMENTATION
WHAT IS CURRVAL.OCX?
=================================
Currval.ocx is a pretty simple active-x control for VB. Basically it
is a specialized text box used for numeric or currency validation.
It allows you to set properties to do the following things
that you can't in a regular text box:
1. Set the Minimum Value Allowed
2. Set theMaximum Value Allowed
3. Automatically format text as currency ($999,99.99)
4. Control whether or not the field can be left blank at run time.
5. Show message boxes when field validation fails.
OVERVIEW
=================================
Here's an overview of the validation process.
Based on properties you set in design time you can control the five
properties listed above plus many others. When you are ready to
validate the field(s) you simply call the bValidateCurrency method.
bValidateCurrency can behave in two ways 1: If you specified in the
property page that you wanted to show message boxes on validation
failure message boxes will be presented to the user telling them
why the text they typed was not valid (these messages are also
programmer defineable properties). 2: If you have the "showmsgbox"
property set to false then bValidateCurrency will return false and
you can handle it any way you want programatically.
USING
==================================
It just takes a second to learn how to use currval.ocx.
1. add it to your project
2. drop it on a form and click "custom" in the property page
to bring up the custom property page.
3. the properties are pretty much self-explanatory so play with them
4. drop a command button on your form and place a call to
"currency1.bValidateCurrency" in the click event.
5. Have fun.
SUPPORT
===================================
Technical Support for this or any other BoBoSoFt is available
by sending email to pcguru@cwia.com. OR visit our web site at
http://www.cwia.com/pcguru/bobosoft/index.htm
LICENSE
===================================
CURRVAL.OCX is copyright 1998 by BoboSoft. It may be
freely distributed in its original form.
Any modification, reverse engineering,
or distribution other than in the original form
is restricted by the author.
CURRVAL.OCX cannot be sold. The author does give
permission for CURRVAL.OCX to be distributed for a fee
but the fee must not exceed a reasonable amount to
cover the cost of the media on which it is being
distributed.
The author grants no license to use CURRVAL.OCX without
registering the product. Registration is free and simple.
There is a 10 day grace period . TO REGISTER CURRVAL.OCX
SEND EMAIL TO pcguru@cwia.com WITH YOUR NAME AND ANY COMMENTS.
Using this product without registering is just plain silly
since registration is free.
The author accepts no responsibility for any damage or
data loss caused by this installation. It is the author's
intention to provide free and safe software.
If you do not agree to these terms please uninstall this
product.
For support, upgrades or to request an enhancement
send your request to pcguru@cwia.com.